// import axios from "./axios";

import config from '../config'
const baseUrl: string = process.env.NODE_ENV === 'development' ? config.baseUrl.dev : config.baseUrl.pro

export const getMenu = (param: any) => {
  return {
    method: 'post',
    url: '/user/12345',
    data: param
  }
}
// export const getMenu = (param: any) => {
//   return axios.request({
//     url: '/permission/getMenu',
//     method: 'post',
//     data: param
//   })
// }

export const getData = () => {
  return {
    method: 'get',
    url: '/home/getData'
  }
}